home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Development / PartMaker / Container•1.0d11v2 / Container•1.0d11v2.rsrc / dFRK_5031 < prev    next >
Encoding:
Text File  |  1995-12-08  |  19.0 KB  |  410 lines

  1. (*
  2.     This script was generated from "Save Project As Script"
  3.     
  4.     Generated from:
  5.     
  6.     Project:        Container.RB.π
  7.     Date:        Friday, November 10, 1995 9:46:17 AM
  8. *)
  9.  
  10. global gSPMFolder
  11. global gTargetProjectFolder
  12. global gTargetProjectIndex
  13.  
  14. property gOriginalProjectName : "Container.RB.π"
  15. property gBuildFolder : "RBPPCDebug"
  16. property gODFDevPath : ""
  17.  
  18. on GetParentFolder(filePath)
  19.     set pathLength to length of filePath
  20.     set folderEnd to 0
  21.     repeat with i from pathLength to 1 by -1
  22.         if (character i of filePath is ":") then
  23.             set folderEnd to i
  24.             exit repeat
  25.         end if
  26.     end repeat
  27.     copy text from character 1 to character folderEnd of filePath to folderToSearch
  28.     return folderToSearch
  29. end GetParentFolder
  30.  
  31. on GetParentFolderOfFolder(folderPath)
  32.     set pathLength to length of folderPath
  33.     set folderEnd to 0
  34.     repeat with i from (pathLength - 1) to 1 by -1
  35.         if (character i of folderPath is ":") then
  36.             set folderEnd to i
  37.             exit repeat
  38.         end if
  39.     end repeat
  40.     copy text from character 1 to character folderEnd of folderPath to folderToSearch
  41.     return folderToSearch
  42. end GetParentFolderOfFolder
  43.  
  44. on AddGroup(groupName, parentGroupName)
  45.     tell application "Symantec Project Manager"
  46.         tell project document gTargetProjectIndex
  47.             try
  48.                 if (not (group groupName exists)) then
  49.                     if (parentGroupName is not "") then
  50.                         create new group as groupName at end of group named parentGroupName
  51.                     else
  52.                         create new group as groupName at end
  53.                     end if
  54.                     set is_open of group named groupName to true
  55.                 end if
  56.             on error
  57.                 display dialog "An error occured while creating group " & segmentName & "."
  58.                 return
  59.             end try
  60.         end tell
  61.     end tell
  62. end AddGroup
  63.  
  64. on AddProjectEntry(entryName, path, mode, groupName)
  65.     if (mode is "system") then
  66.         set fileName to gSPMFolder & path & entryName
  67.     else if (mode is "project") then
  68.         set fileName to gTargetProjectFolder & path & entryName
  69.     else
  70.         set fileName to path & entryName
  71.     end if
  72.     tell application "Symantec Project Manager"
  73.         tell project document gTargetProjectIndex
  74.             try
  75.                 if (groupName is not "") then
  76.                     if (not (source entryName of group groupName exists)) then
  77.                         create new source as file fileName at end of group named groupName
  78.                     end if
  79.                 else
  80.                     if (not (source entryName exists)) then
  81.                         create new source as file fileName at end
  82.                     end if
  83.                 end if
  84.             on error
  85.                 display dialog "An error occured while creating source " & entryName & "."
  86.             end try
  87.         end tell
  88.     end tell
  89. end AddProjectEntry
  90.  
  91. on GetProjectIndex(project)
  92.     -- Find the index of the front project.
  93.     -- We should be able to just say "set gTargetProjectIndex to index of front project document)"
  94.     -- but there is a bug in the SPM right now where it doesn't index projects by window layering.
  95.     tell application "Symantec Project Manager"
  96.         set projectName to full path name of project
  97.         set projectCount to count project documents
  98.         repeat with i from 1 to projectCount
  99.             set fpn to full path name of project document i
  100.             if (fpn is projectName) then
  101.                 return i
  102.             end if
  103.         end repeat
  104.     end tell
  105.     return 0
  106. end GetProjectIndex
  107.  
  108. on ConfirmTargetProject(targetProjectIndex)
  109.     set hitOK to true
  110.     tell application "Symantec Project Manager"
  111.         -- Confirm the project
  112.         set promptString to "Update project \"" & name of project document targetProjectIndex & "\"?"
  113.         set confirmResult to display dialog promptString buttons {"New Project", "Cancel", "OK"} default button 3
  114.     end tell
  115.     return button returned of confirmResult
  116. end ConfirmTargetProject
  117.  
  118. on ChooseTargetProject()
  119.     tell application "Symantec Project Manager"
  120.         if number of project document = 0 then
  121.             set promptForNewProject to true
  122.             set targetProjectIndex to 0
  123.             --else if (class of front document is project document) then
  124.             --    set targetProjectIndex to my GetProjectIndex(front document)
  125.         else if (exists main_project) then
  126.             set targetProjectIndex to index of main_project
  127.         else
  128.             set targetProjectIndex to 0
  129.         end if
  130.         
  131.         if (targetProjectIndex > 0) then
  132.             set confirmButton to my ConfirmTargetProject(targetProjectIndex)
  133.             if (confirmButton is not "OK") then
  134.                 set promptForNewProject to true
  135.             else
  136.                 set promptForNewProject to false
  137.             end if
  138.         else
  139.             set promptForNewProject to true
  140.         end if
  141.         
  142.         if (promptForNewProject) then
  143.             try
  144.                 --set newProjectSpec to new file with prompt "New Project Name:" default name gOriginalProjectName
  145.                 create new project document as file (gODFDevPath & "Container:" & gBuildFolder & ":" & gOriginalProjectName)
  146.                 set targetProjectIndex to my GetProjectIndex(front document)
  147.             on error
  148.                 set targetProjectIndex to 0
  149.             end try
  150.         end if
  151.     end tell
  152.     return targetProjectIndex
  153. end ChooseTargetProject
  154.  
  155. choose folder with prompt "Where is your ODF Development folder (ODFDev)?"
  156. set gODFDevPath to (the result as string)
  157.  
  158. tell application "Finder"
  159.     if not (exists folder "ODF" of (gODFDevPath as alias)) then
  160.         error "Can't find the 'ODF' folder inside your ODF Development folder."
  161.         return
  162.     end if
  163.     
  164.     if not (exists folder "Container" of (gODFDevPath as alias)) then
  165.         error "Can't find your 'Container' folder inside your ODF Development folder."
  166.         return
  167.     end if
  168.     
  169.     if not (exists folder "•RBDbSy" of ((gODFDevPath & "Container:Sources:") as alias)) then
  170.         error "Can't find '•RBDbSy'. Did you run the MPW 'Build' script to build the resources?"
  171.         return
  172.     end if
  173.     
  174.     make new folder at folder (gODFDevPath & "Container:" & gBuildFolder & ":") with properties {name:"(Container.RB.π)"}
  175.     make new alias file to ((gODFDevPath & gBuildFolder & ":Precompile Headers") as alias) at ((gODFDevPath & "Container:" & gBuildFolder & ":(Container.RB.π)") as alias)
  176.     make new alias file to ((gODFDevPath & gBuildFolder & ":Lib") as alias) at ((gODFDevPath & "Container:" & gBuildFolder & ":(Container.RB.π)") as alias)
  177.     make new alias file to ((gODFDevPath & "Container:Sources:") as alias) at ((gODFDevPath & "Container:" & gBuildFolder & ":(Container.RB.π)") as alias)
  178. end tell
  179.  
  180. tell application "Symantec Project Manager"
  181.     activate
  182.     set gTargetProjectIndex to my ChooseTargetProject()
  183.     if (gTargetProjectIndex is 0) then
  184.         return
  185.     end if
  186.     set gSPMFolder to my GetParentFolder(filespec as string)
  187.     set temp to my GetParentFolder(filespec of project document gTargetProjectIndex as string)
  188.     set gTargetProjectFolder to my GetParentFolderOfFolder(temp)
  189. end tell
  190.  
  191. -- Add all the groups
  192. my AddGroup("1. Container", "", gTargetProjectIndex)
  193. my AddGroup("2. ODF", "", gTargetProjectIndex)
  194. my AddGroup("3. OpenDoc", "", gTargetProjectIndex)
  195. my AddGroup("4. Runtime Libraries", "", gTargetProjectIndex)
  196. my AddGroup("5. System Libraries", "", gTargetProjectIndex)
  197.  
  198. -- Add all the source files
  199. my AddProjectEntry("EditCmds.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  200. my AddProjectEntry("ContainerClip.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  201. my AddProjectEntry("ContainerCmds.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  202. my AddProjectEntry("ContainerDDCmd.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  203. my AddProjectEntry("ContainerFrm.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  204. my AddProjectEntry("ContainerLink.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  205. my AddProjectEntry("ContainerPart.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  206. my AddProjectEntry("ContainerPromise.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  207. my AddProjectEntry("ContainerSel.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  208. my AddProjectEntry("ContainerView.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  209. my AddProjectEntry("FloatFrm.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  210. my AddProjectEntry("PalFrame.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  211. my AddProjectEntry("PatFrame.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  212. my AddProjectEntry("ShpTrakr.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  213. my AddProjectEntry("ToolFrm.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  214. my AddProjectEntry("Utils.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  215. my AddProjectEntry("FWRuler.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  216. my AddProjectEntry("SOMIter.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  217. my AddProjectEntry("SOMPart.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  218. my AddProjectEntry("BaseShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  219. my AddProjectEntry("BoundShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  220. my AddProjectEntry("ContainerPrxy.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  221. my AddProjectEntry("LineShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  222. my AddProjectEntry("OvalShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  223. my AddProjectEntry("RectShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  224. my AddProjectEntry("RRectShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  225. my AddProjectEntry("TextShp.cpp", "Sources:Sources:", "project", "1. Container", gTargetProjectIndex)
  226.  
  227. my AddProjectEntry("ContainerPart.rsrc", "Sources:•RBDbSy:", "project", "1. Container", gTargetProjectIndex)
  228. my AddProjectEntry("ContainerStrs.rsrc", "Sources:•RBDbSy:", "project", "1. Container", gTargetProjectIndex)
  229.  
  230. set gTargetProjectFolder to my GetParentFolderOfFolder(gTargetProjectFolder)
  231.  
  232. my AddProjectEntry("Framewrk.xcoff", gBuildFolder & ":Lib:", "project", "2. ODF", gTargetProjectIndex)
  233. my AddProjectEntry("ODFFound.xcoff", gBuildFolder & ":Lib:", "project", "2. ODF", gTargetProjectIndex)
  234. my AddProjectEntry("ODFOS.xcoff", gBuildFolder & ":Lib:", "project", "2. ODF", gTargetProjectIndex)
  235. my AddProjectEntry("FWOSMisc.rsrc", "ODF:OS:FWOSMisc:•RBDbSy:", "project", "2. ODF", gTargetProjectIndex)
  236. my AddProjectEntry("FWPrint.rsrc", "ODF:Framewrk:FWPart:•RBDbSy:", "project", "2. ODF", gTargetProjectIndex)
  237. my AddProjectEntry("FWPrtStr.rsrc", "ODF:Framewrk:FWPart:•RBDbSy:", "project", "2. ODF", gTargetProjectIndex)
  238. my AddProjectEntry("FWWindow.rsrc", "ODF:OS:FWWindow:•RBDbSy:", "project", "2. ODF", gTargetProjectIndex)
  239.  
  240. my AddProjectEntry("ODUtilities.xcoff", gBuildFolder & ":Lib:", "project", "3. OpenDoc", gTargetProjectIndex)
  241. my AddProjectEntry("OpenDoc User Interface.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  242. my AddProjectEntry("OpenDoc Storage.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  243. my AddProjectEntry("OpenDoc Messaging.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  244. my AddProjectEntry("OpenDoc Layout.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  245. my AddProjectEntry("OpenDoc Imaging.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  246. my AddProjectEntry("OpenDoc Core.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  247. my AddProjectEntry("OpenDoc Binding.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  248. my AddProjectEntry("Memory Manager.stub", "Macintosh Libraries:OpenDoc:Libraries:PEF:", "system", "3. OpenDoc", gTargetProjectIndex)
  249.  
  250. my AddProjectEntry("OpenDoc PPCRuntime.o", "Macintosh Libraries:PPC Libraries:", "system", "4. Runtime Libraries", gTargetProjectIndex)
  251. my AddProjectEntry("PPCCPlusLib TCL.o", "Standard Libraries:", "system", "4. Runtime Libraries", gTargetProjectIndex)
  252. my AddProjectEntry("PPCANSI.o", "Standard Libraries:", "system", "4. Runtime Libraries", gTargetProjectIndex)
  253.  
  254. my AddProjectEntry("AppleScriptLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  255. my AddProjectEntry("DragLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  256. my AddProjectEntry("InterfaceLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  257. my AddProjectEntry("MathLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  258. my AddProjectEntry("somlib", "Macintosh Libraries:SOM:", "system", "5. System Libraries", gTargetProjectIndex)
  259. my AddProjectEntry("QuickTimeLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  260. my AddProjectEntry("ThreadsLib", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  261. my AddProjectEntry("QuickDrawGXLib.xcoff", "Macintosh Libraries:PPC Libraries:", "system", "5. System Libraries", gTargetProjectIndex)
  262.  
  263. tell application "Symantec Project Manager"
  264.     tell project document gTargetProjectIndex
  265.         
  266.         -- Set up project options
  267.         set compact_on_close to true
  268.         set confirm_updates to false
  269.         set update_subprojects to true
  270.         set check_file_dates to false
  271.         set run_with_debugger to true
  272.         
  273.         -- Set up project type options
  274.         set target_type to PowerPC_library
  275.         set file_type to "shlb"
  276.         set file_creator to "odfO"
  277.         set SIZE_flags to 22720
  278.         set partition_size to 1024
  279.         set minimum_partition_size to 1024
  280.         set ask_for_target to false
  281.         set target_name to file (gTargetProjectFolder & "Container:" & gBuildFolder & ":Bin:Container")
  282.         set merge_68k_application to false
  283.         set source_68k_application to file ""
  284.         set custom_stack_size to 0
  285.         set export_all_symbols to false
  286.         set current_lib_version to 0
  287.         set lib_definition_version to 0
  288.         
  289.         -- Set up linker options
  290.         set linker_to_use to incremental_linker
  291.         set smart_link to true
  292.         set generate_link_map to false
  293.         set update_subprojects to true
  294.         set generate_cross_references to false
  295.         set use_makesym to false
  296.         set ppclink_options to "-main __cplusstart"
  297.         set makesym_options to ""
  298.         set makepef_options to "-l 'AppleScriptLib.xcoff.o=AppleScriptLib' ∂" & return & ¬
  299.             "-l 'InterfaceLib.xcoff.o=InterfaceLib' ∂" & return & ¬
  300.             "-l 'DragLib.xcoff.o=DragLib' ∂" & return & ¬
  301.             "-l 'MathLib.xcoff.o=MathLib' ∂" & return & ¬
  302.             "-l 'ObjectSupportLib.xcoff.o=ObjectSupportLib' ∂" & return & ¬
  303.             "-l 'QuickTimeLib.xcoff.o=QuickTime' ∂" & return & ¬
  304.             "-l 'StdCLib.xcoff.o=StdCLib' "
  305.         
  306.         -- Set up extensions    
  307.         set extension_map to {¬
  308.             {the_extension:".c", the_translator:"PowerPC C"}, ¬
  309.             {the_extension:".cp", the_translator:"PowerPC C++"}, ¬
  310.             {the_extension:".cpp", the_translator:"PowerPC C++"}, ¬
  311.             {the_extension:".hpp", the_translator:"PowerPC C++"}, ¬
  312.             {the_extension:".o", the_translator:"XCOFF Converter"}, ¬
  313.             {the_extension:".r", the_translator:"Symantec Rez"}, ¬
  314.             {the_extension:".rsrc", the_translator:"Resource Copier"}, ¬
  315.             {the_extension:".va", the_translator:"Resource Copier"}, ¬
  316.             {the_extension:".xcoff", the_translator:"XCOFF Converter"} ¬
  317.                 }
  318.         
  319.         -- Set up project window options
  320.         set order_by to order_by_name
  321.         set ascending_order to true
  322.         set show_group_hierarchy to true
  323.         set show_entry_icon to true
  324.         set show_debugging_status to true
  325.         set show_group_membership to false
  326.         set show_translator to false
  327.         set show_type to false
  328.         set show_location to false
  329.         set show_last_modification to false
  330.         set show_code_size to true
  331.         set show_data_size to false
  332.         set show_make_status to true
  333.         set show_projector_status to true
  334.         set font to "Geneva"
  335.         set font_size to "9"
  336.         
  337.         -- Set up "PowerPC C" options
  338.         set ansi of Options "PowerPC C" to true
  339.         set ansi_strict of Options "PowerPC C" to relaxed_ansi
  340.         set read_header_once of Options "PowerPC C" to true
  341.         set chars_unsigned of Options "PowerPC C" to false
  342.         set pack_enums of Options "PowerPC C" to false
  343.         set map_cr of Options "PowerPC C" to false
  344.         set Language of Options "PowerPC C" to English
  345.         set struct_align of Options "PowerPC C" to align_4
  346.         set global_optimizer of Options "PowerPC C" to false
  347.         set gopt_time of Options "PowerPC C" to optimize_time
  348.         set force_frame of Options "PowerPC C" to false
  349.         set generate_symbolics of Options "PowerPC C" to true
  350.         set error_reporting of Options "PowerPC C" to report_first_few_err
  351.         set generate_warn of Options "PowerPC C" to true
  352.         set warn_unintended_assign of Options "PowerPC C" to true
  353.         set warn_nest_comments of Options "PowerPC C" to true
  354.         set warn_unused_expressions of Options "PowerPC C" to true
  355.         set warn_empty_loops of Options "PowerPC C" to true
  356.         set warn_used_before_set of Options "PowerPC C" to true
  357.         set warn_large_auto of Options "PowerPC C" to true
  358.         set warn_return_addr_auto of Options "PowerPC C" to true
  359.         set warn_unrecognized_pragma of Options "PowerPC C" to true
  360.         set prefix of Options "PowerPC C" to "#include <PPC Macheaders>"
  361.         set check_ptrs of Options "PowerPC C" to true
  362.         set require_protos of Options "PowerPC C" to true
  363.         set infer_protos of Options "PowerPC C" to infer_prototypes
  364.         
  365.         -- Set up "PowerPC C++" options
  366.         set ansi of Options "PowerPC C++" to true
  367.         set ansi_strict of Options "PowerPC C++" to relaxed_ansi
  368.         set read_header_once of Options "PowerPC C++" to true
  369.         set chars_unsigned of Options "PowerPC C++" to false
  370.         set pack_enums of Options "PowerPC C++" to true
  371.         set map_cr of Options "PowerPC C++" to false
  372.         set Language of Options "PowerPC C++" to English
  373.         set struct_align of Options "PowerPC C++" to align_2
  374.         set global_optimizer of Options "PowerPC C++" to false
  375.         set gopt_time of Options "PowerPC C++" to optimize_time
  376.         set force_frame of Options "PowerPC C++" to false
  377.         set generate_symbolics of Options "PowerPC C++" to true
  378.         set error_reporting of Options "PowerPC C++" to report_first_few_err
  379.         set generate_warn of Options "PowerPC C++" to true
  380.         set warn_unintended_assign of Options "PowerPC C++" to true
  381.         set warn_nest_comments of Options "PowerPC C++" to true
  382.         set warn_unused_expressions of Options "PowerPC C++" to true
  383.         set warn_empty_loops of Options "PowerPC C++" to true
  384.         set warn_used_before_set of Options "PowerPC C++" to true
  385.         set warn_large_auto of Options "PowerPC C++" to true
  386.         set warn_return_addr_auto of Options "PowerPC C++" to true
  387.         set warn_unrecognized_pragma of Options "PowerPC C++" to true
  388.         set prefix of Options "PowerPC C++" to "#include \"ODFHeaders.RB\"" & return & ¬
  389.             "#pragma options(system_includes_from_project_tree)" & return & ""
  390.         set dont_inline of Options "PowerPC C++" to false
  391.         set warn_old_style_delete of Options "PowerPC C++" to true
  392.         set warn_struct_without_tag of Options "PowerPC C++" to true
  393.         set warn_missing_overloads of Options "PowerPC C++" to true
  394.         set warn_ref_init of Options "PowerPC C++" to true
  395.         set warn_old_style_definition of Options "PowerPC C++" to true
  396.         set warn_cast_incomplete_type of Options "PowerPC C++" to true
  397.         
  398.         -- Set up "Symantec Rez" options
  399.         set Redeclared Types of Options "Symantec Rez" to true
  400.         set prefix of Options "Symantec Rez" to "#define SystemSevenOrLater 1" & return & ""
  401.         
  402.         -- Set debug
  403.         set debug of group "1. Container" to true
  404.         set debug of group "2. ODF" to false
  405.         set debug of group "3. OpenDoc" to false
  406.         set debug of group "4. Runtime Libraries" to false
  407.         set debug of group "5. System Libraries" to false
  408.     end tell
  409. end tell
  410.